package com.yxhl.zoume.core.user.view;

import com.yxhl.zoume.common.ui.view.BaseView;
import com.yxhl.zoume.data.http.model.base.BaseModel;
import com.yxhl.zoume.data.http.model.mywallet.TradeRecordBean;
import com.yxhl.zoume.data.http.rest.response.mywallet.TradeRecordsResponse;

import java.util.List;

/**
 * 项目名称：Ferrari
 * Created by menggod on 16/11/14 .
 */
public interface TradeRecordsView<T extends BaseModel> extends BaseView {
    /**
     * 修改成功 弹出提示
     * @param recordsList
     */
    void renderTradeRecordsOnSuccess(List<TradeRecordBean> recordsList);

    /**
     * 修改失败 弹出提示
     */
    void renderTradeRecordsOnFailure(String errorMessage);

    /**
     * 网络接口请求 错误回调
     */
    void renderTradeRecordsOnError();


}
